package com.hexb.smh.entity.view;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : hexb
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EvaluateResult {

    public static final String[] colors = new String[]{
            "#f5222d",
            "#cf1322",
            "#a8071a",
            "#820014",
            "#5c0011",
            "#fa541c",
            "#d4380d",
            "#ad2102",
            "#871400",
            "#610b00",
            "#fa8c16",
            "#d46b08",
            "#ad4e00",
            "#873800",
            "#612500",
    };


    @ApiModelProperty("结果分数")
    private String score;

    @ApiModelProperty("等级")
    private String levelName;

    @ApiModelProperty("是否达标")
    private Boolean passed;

    @ApiModelProperty("评估历史Id(可用于下载)")
    private Integer historyId;
}
